home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Tetris / Source / RCS / TetApp.h,v < prev    next >
Encoding:
Text File  |  1975-04-26  |  2.1 KB  |  170 lines

  1. head     1.6;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.6
  10. date     92.03.01.10.27.00;  author melling;  state Exp;
  11. branches ;
  12. next     1.5;
  13.  
  14. 1.5
  15. date     92.03.01.05.07.44;  author melling;  state Exp;
  16. branches ;
  17. next     1.4;
  18.  
  19. 1.4
  20. date     92.02.28.05.19.01;  author melling;  state Exp;
  21. branches ;
  22. next     1.3;
  23.  
  24. 1.3
  25. date     91.12.19.10.12.43;  author melling;  state Exp;
  26. branches ;
  27. next     1.2;
  28.  
  29. 1.2
  30. date     91.12.16.17.22.12;  author melling;  state Exp;
  31. branches ;
  32. next     1.1;
  33.  
  34. 1.1
  35. date     91.12.07.03.37.02;  author melling;  state Exp;
  36. branches ;
  37. next     ;
  38.  
  39.  
  40. desc
  41. @Tetris 1.1
  42. @
  43.  
  44.  
  45. 1.6
  46. log
  47. @Release 1.3
  48. @
  49. text
  50. @
  51. #import <appkit/Application.h>
  52.  
  53. @@interface TetApp:Application
  54. {
  55.     id tetrisView;                  // The view where the action takes place.
  56.     id level;
  57.     id levelLeft;
  58.     id levelRight;
  59.     id pauseButton;
  60.     id pauseDisplay;
  61.     id scoreKeeper;
  62.     id showNext;
  63.     id startButton;
  64.     id tetrisWindow;                  // The Main window
  65.      id controlBox;
  66.      id controlWindow;              // The control panel's window
  67.      id colorSwitch;                  // Color Switch id on Control Panel
  68.      id randomField;                  // Number of random rows field on Control Panel
  69.      id randomSlider;
  70.     BOOL started;
  71.     BOOL paused;
  72.      BOOL gameInColor, colorOff;
  73.      int numRandomRows;
  74.      id showNextSwitch;
  75. }
  76.  
  77. + new;
  78.  
  79. - setLevelLeft:anObject;
  80. - setLevelRight:anObject;
  81. - setTetrisWindow:anObject;
  82.  
  83. - appDidInit:sender;
  84. - resignActiveApp;
  85.  
  86. - start:sender;
  87. - pause:sender;
  88.  
  89. - gameOver;
  90. - (BOOL) isGameColor;
  91.  
  92. - levelLeft:sender;
  93. - levelRight:sender;
  94. - adjustColor:sender;
  95.  
  96. - terminate:sender;
  97. - windowWillMiniaturize:sender toMiniwindow:miniwindow;
  98.  
  99. // Private methods
  100. - updateRight:(int) theLevel;
  101. - updateLeft:(int) theLevel;
  102. - setRandomRows:sender;
  103.  
  104. @@end
  105. @
  106.  
  107.  
  108. 1.5
  109. log
  110. @*** empty log message ***
  111. @
  112. text
  113. @d17 4
  114. a20 1
  115.      id controlWindow;
  116. d23 3
  117. a25 1
  118.      BOOL gameInColor;
  119. d53 2
  120. @
  121.  
  122.  
  123. 1.4
  124. log
  125. @*** empty log message ***
  126. @
  127. text
  128. @d17 1
  129. d40 1
  130. d45 3
  131. @
  132.  
  133.  
  134. 1.3
  135. log
  136. @*** empty log message ***
  137. @
  138. text
  139. @d16 1
  140. a16 1
  141.  
  142. d19 1
  143. d35 1
  144. @
  145.  
  146.  
  147. 1.2
  148. log
  149. @*** empty log message ***
  150. @
  151. text
  152. @a15 1
  153.     id aCheater;
  154. @
  155.  
  156.  
  157. 1.1
  158. log
  159. @Initial revision
  160. @
  161. text
  162. @d6 1
  163. a6 1
  164.     id tetrisView;
  165. d15 3
  166. a17 2
  167.     id tetrisWindow;
  168.     
  169. @
  170.